<template>
  <div class="cart-list">
    <cartlistitem v-for="(item,index) in cartlist" :key="index" :item-info="item"></cartlistitem>
  </div>
</template>

<script>
  import {mapGetters} from 'vuex'
  import cartlistitem from './CartListItem.vue'
  export default{
    components:{
      cartlistitem
    },
    computed:{
      ...mapGetters({
        cartlist:'cart'
      })
    }
  }
</script>

<style scoped="scoped">

</style>
